<template>
	<view>
		<u-navbar title="详情"></u-navbar>

		<view>
			<u-swiper :list="list" :height="300"></u-swiper>
		</view>
		<view style="display: flex; justify-content: center; margin-top: -20rpx;">
			<view
				style="width: 720rpx; height: 220rpx; border-radius: 10rpx; background-color: #fff; position: absolute; z-index: 1000; display: flex; justify-content: center;">
				<view style="width: 680rpx;">
					<view style="font-size: 30rpx; font-weight: 600; margin-top: 20rpx;">江宁区市民体育公园足球场</view>
					<view style="display: flex; justify-content: flex-start; align-items: center; margin-top: 10rpx;">
						<u-rate :active-color="'#FFD500'" :count="count" v-model="value"></u-rate>
						<view style="margin-left: 10rpx; color: #FFD500;">4.5</view>
					</view>
					<view style="color: #0256FF;margin-top: 10rpx;">南京市江宁区东山街道金箔路518号</view>
					<view style="display: flex; justify-content: space-between; align-items: center;margin-top: 10rpx;">
						<view style="font-size: 25rpx; color: #909399;">
							<text>营业时间：</text>
							<text>全天</text>
							<text style="padding-left: 10rpx;">十一人制</text>
						</view>
						<view>
							<text style="font-size: 40rpx;" class="cuIcon-location"></text>
							<text style="font-size: 40rpx; padding-left: 10rpx;" class="cuIcon-phone"></text>
							<text style="padding-left: 10rpx;font-size: 25rpx; color: #909399;">联系场地</text>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		<view style="display: flex; justify-content: center;">
			<view style="width: 720rpx; height: 360rpx; border-radius: 10rpx; background-color: #fff; margin-top: 240rpx;  display: flex; justify-content: center;">
				<view style="width: 680rpx;">
					<view style="margin-top: 20rpx;">
						<view class="cu-tag line-black round">
							<text>日期</text>
							<text class="cuIcon-unfold" style="padding-left: 5rpx;"></text>
						</view>
						<view class="cu-tag line-gray round">
							<text>10:00-11:30</text>
						</view>
					</view>
					<view style="font-size: 25rpx; color: #909399;">
						<view style="margin-top: 10rpx;">
							<text>预定人数：</text>
							<text>1</text>
						</view>
						<view style="margin-top: 10rpx;">
							<text>队伍类型：</text>
							<text>非球队</text>
						</view>
						<view style="margin-top: 10rpx;">
							<text>年龄段：</text>
							<text>6-12 12-18</text>
						</view>
					</view>
					
					<view style="margin-top: 20rpx;">
						<u-line color="#c1c1c1" border-style="solid" direction="row"></u-line>
					</view>
					<view style="font-size: 25rpx; color: #909399;">
						<view style="margin-top: 10rpx;">
							<text>预定人数：</text>
							<text>1</text>
						</view>
						<view style="margin-top: 10rpx;">
							<text>队伍类型：</text>
							<text>非球队</text>
						</view>
						<view style="margin-top: 10rpx;">
							<text>年龄段：</text>
							<text>6-12 12-18</text>
						</view>
					</view>
				</view>
			</view>
		</view>
		
		<view style="display: flex; justify-content: center;">
			<view style="width: 720rpx; height: 360rpx; border-radius: 10rpx; background-color: #fff; margin-top: 20rpx;  display: flex; justify-content: center;">
				<view style="width: 680rpx;">
					<view style="font-size: 40rpx; color: #303133; font-weight: 700; margin-top: 20rpx;">用户评价（12）</view>
					
					<!-- 评论 -->
					<view style="margin-top: 20rpx;">
						<view style="display: flex; justify-content: space-between;">
							<view style="display: flex; justify-content: flex-start; align-items: center;">
								<image src="../../static/logo.png" style="height: 80rpx; width: 80rpx; border-radius: 40rpx;"></image>
								<view style="margin-left: 20rpx;">
									<view style="font-size: 30rpx; font-weight: 600;">匿名用户</view>
									<view>
										<u-rate :active-color="'#FFD500'" :count="count" v-model="value"></u-rate>
									</view>
								</view>
							</view>
							<view style="font-size: 25rpx; color: #909399;">2022-1-1</view>
						</view>
						<view style="margin-top: 5rpx; font-size: 25rpx;">场地不错，下次还来！</view>
					</view>
				</view>
			</view>
		</view>
		
		<!-- 预约按钮 -->
		<view style="width: 100%; height: 100rpx; position: fixed; z-index: 100; bottom: 0; display: flex; justify-content: flex-end; align-items: center;">
			<button style="margin-right: 30rpx;" class="cu-btn bg-blue">立即预定</button>
		</view>
	</view>
</template>


<script>
	export default {
		data() {
			return {
				list: ['https://cdn.uviewui.com/uview/swiper/1.jpg'],
				count: 5,
				value: 2
			}
		},
		methods: {

		}
	}
</script>

<style>
	page {
		background-color: #f3f4f6;
	}
</style>